﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace WebPALTT.Lib
{
    public partial class ProgressWindow : Form
    {
        public ProgressWindow(string header)
        {
            InitializeComponent();
            lbl_Header.Text = header;
            lbl_Text.Text = "";
            progressBar1.Value = 0;
            this.Show();
        }

        public void SetValue(int value, string text = "")
        {
            progressBar1.Value = value;
            lbl_Text.Text = text;
        }
    }
}
